<?php slot('jquery_include')?>
HOME.cateId = '<?php echo intval($data['cate_id'])?>';
HOME.init();
HOME.initProduct();
<?php end_slot()?>
<?php slot('header_css')?>
<style type="text/css">
.banner .nivoSlider {
	height: 200px;
}

.banner .nivoSlider img {
	height: 200px;
}



.banner .nivo-controlNav {
	width: 1000px;
}
.banner .nivo-directionNav {
	width: 980px;
	margin: -80px auto 0px auto;
}
</style>
<?php end_slot()?>
<?php slot('banners')?>
<div id="page-banner">
	<div id="page-inner">
		<div class="banner">
			<div id="nivo-slider" class="nivoSlider">
				<?php foreach($data['banners'] as $ban):?>
					<a href="<?php echo $ban['page_link']?>"><img src="<?php echo $ban['photo_url']?>"/></a>
				<?php endforeach;?>
			</div>
		</div>
		<div class="clr"></div>
	</div>
</div>
<div class="clr"></div>
<?php end_slot()?>
<div id="product" style="margin-top:0px">
	<div class="content-left">
		<div class="title-arrow" style="display: block">
			<span>Hỏi đáp thông tin tài chính</span>
		</div>		
		<div class="product-menu spacing-top">
			<span class="active"><a href="#" >Chủ đề</a></span>
			<?php $left = 97;
				  $x = 4.5;
				  $y = 44.5;
				  foreach($data['cates'] as $cate):
				  
			?>
			<span class="fancy-show" data-id="search_id<?php echo $cate['id']?>" data-left="<?php echo $left?>"><?php echo $cate['name']?></span>
			<?php 
			$left+=floor($x*strlen(UserStringHelper::titleToAddress($cate['name']))+$y);
			endforeach;?>
			<span title="Hủy lựa chọn" class="reset" style="display: none">Hủy</span>
			<div class="clr"></div>
		</div>
		<div class="show-filter" style="display: none">
			<div class="content">
				<input type="hidden" name="searchCates" id="searchCates" value="<?php echo intval($data['cate_id'])?>,"/>
				<?php foreach($data['cates'] as $cate):?>
				<div id="search_id<?php echo $cate['id']?>" data-total="<?php echo count($cate['children'])?>">
					<ul>
						<?php 	foreach($cate['children'] as $val):	?>
						<li data-value="<?php echo $val['id']?>" data-refer="searchCates"><?php echo $val['name']?></li>
						<?php endforeach;?>
					</ul>
					
					<div class="clr"></div>
				</div>
				<?php endforeach;?>
			</div>
		</div>
		<div class="clr"></div>
		<div class="product-content">
		
		</div>
	</div>
	<div class="content-right padding-tabs advs"  data-page="<?php echo USER_DEFINED::ADV_PAGE_FAQ?>" data-attr='class="adv"' data-page-num='-1' data-limit='-1'>
		
	</div>
	<div class="clr"></div>
</div>
<div id="loan" class="spacing-top">
	<div class="title-arrow "><span>Sản phẩm liên quan</span></div>
	<div class="loan-content" style="margin-top:20px;">
				
	</div>
</div>
